import { createApp } from "vue";
import { createPinia } from "pinia";
import ElementPlus from "element-plus";
import { ElMessage } from "element-plus";
import "element-plus/dist/index.css";
// 改变htmlfont-size大小
import 'amfe-flexible'
// 引入图标
import '@/assets/icon.less'
import "./assets/index.less";


import App from "./App.vue";
import router from "./router";





// 封装提示消息函数
export function tipsMsg(msg, type) {
  console.log(type);
  ElMessage({
    message: msg,
    type,
  });
}

const app = createApp(App);
app.use(ElementPlus);

app.use(createPinia());
app.use(router);

app.mount("#app");
